//生成验证码图片的接口

/*
function generateRandomCodeImage(){
    const promise = new Promise((resolve, reject) => {
        $.ajax({
            url: baseUrl + 'commons/randomcode',
            type: 'GET',
            dataType: 'json',
            success: resp => {
                resolve(resp);

            },
            error: err => {
                reject(err);
            }
        })
    })
    return promise;
}*/